/**
 * Package Name:com.mango.framework.exception
 * Date:2016年4月26日下午10:54:11
 * Copyright (c) 2016, www.chaincar.com All Rights Reserved.
 */

package com.platform.server.exception;


import com.platform.server.util.Constants;

/**
 * ClassName:ServiceException <br/>
 * Function: 业务层异常基类. <br/>
 * Date:     2016年4月26日 下午10:54:11 <br/>
 * @author   haibingwang
 * @version  
 * @see 	 
 */
public class ServiceException extends AbstractException{
	
	private static final long serialVersionUID = -3667532865221596081L;

	public static final int DEFAULT_CODE = Constants.ResponseCode.业务异常;

	public ServiceException(int code, String message, Throwable cause) {
		super(code, message, cause);
	}

	public ServiceException(int code, String message) {
		super(code, message);
	}

	public ServiceException(int code, Throwable cause) {
		super(code, cause);
	}

	public ServiceException(int code) {
		super(code);
	}

	public ServiceException(String message, Throwable cause) {
		super(DEFAULT_CODE, message, cause);
	}

	public ServiceException(String message) {
		super(DEFAULT_CODE, message);
	}

	public ServiceException(Throwable cause) {
		super(DEFAULT_CODE, cause);
	}

	public ServiceException() {
		super(DEFAULT_CODE);
	}
	
}

